home *** CD-ROM | disk | FTP | other *** search
-
- Public
- (
- #if %ENVCMAMB
- float 'ReflectAmount' (0.25)
- #elif %ENVCMSPEC
- float 'EnvMapContrast' (0)
- float 'EnvMapSaturation' (1)
- float 'EnvMapAmount' (1)
- float 'FresnelScale' (1)
- float 'FresnelBias' (0)
- float 'FresnelPow' (5)
- #endif
- #if %SPECULAR && %SPECULAR_PERPIXEL
- #if %SPECULARPOW_GLOSSALPHA
- float 'SpecularExpMultiplier' (255)
- #else
- float 'SpecularExp' (32)
- #endif
- #endif
- )
-
- #if %RTCUBEMAP
- RenderParams
- {
- DrawFarSprites
- DrawStaticObjects
- DrawParticles
- DrawEntities
- DrawIndoors
- DrawDetailTextures
- FullDetailTerrain
- DrawWater
- DrawTerrain
- }
- #endif
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- HasDOT3LM
- NoLights
- }
-
- #define %DOT3LM 0x1000000
- #include "AmbPassTempl.csi"
- #include "ShadowTempl.csi"
- #undefine %DOT3LM
- )
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- HasDOT3LM
- MultipleLights
- SingleLight
- }
-
- #include "LightingTempl.csi"
-
- #define %DOT3LM 0x1000000
- #include "AmbPassTempl.csi"
- #include "ShadowTempl.csi"
- #undefine %DOT3LM
- )
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- SingleLight
- }
-
- #define %SINGLELIGHT 0x20000000
- #include "LightingTempl.csi"
- #undefine %SINGLELIGHT
-
- #include "ShadowTempl.csi"
- )
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- MultipleLights
- }
-
- #include "LightingTempl.csi"
- #include "AmbPassTempl.csi"
- #include "ShadowTempl.csi"
- )
-
- HW 'Seq'
- (
- Conditions
- {
- NoLights
- HasDOT3LM
- }
-
- // Only Ambient pass
- #define %DOT3LM 0x1000000
- #include "AmbPassTempl.csi"
- #undefine %DOT3LM
- )
-
- // Technique 'NoLights'
- HW 'Seq'
- (
- Conditions
- {
- NoLights
- HasLM
- }
-
- // Only Ambient pass
- #define %LM 0x2000000
- #include "AmbPassTempl.csi"
- #undefine %LM
- )
-
- HW 'Seq'
- (
- Conditions
- {
- NoLights
- }
-
- // Only Ambient pass
- #include "AmbPassTempl.csi"
- )
-
- // Technique 'Single and Multiple Lights with Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- SingleLight
- MultipleLights
- HasDOT3LM
- }
-
- #define %DOT3LM 0x1000000
- #include "AmbPassTempl.csi"
- #undefine %DOT3LM
-
- #include "LightingTempl.csi"
- )
-
- // Technique 'Single and Multiple Lights with Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- SingleLight
- MultipleLights
- HasLM
- }
-
- #define %LM 0x2000000
- #include "AmbPassTempl.csi"
- #undefine %LM
-
- #include "LightingTempl.csi"
- )
-
- // Technique 'Single and Multiple Lights without Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- SingleLight
- }
-
- #define %SINGLELIGHT 0x20000000
- #include "LightingTempl.csi"
- #undefine %SINGLELIGHT
- )
-
- // Technique 'Single and Multiple Lights without Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- MultipleLights
- }
-
- #include "AmbPassTempl.csi"
- #include "LightingTempl.csi"
- )
-